package com.kate.mall.bff.wx.feign;

import com.kate.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "mall-center")
public interface MallFeignClient {
    @GetMapping("/mall/issue/list")
    R issueList(@RequestParam Map<String, Object> params);

    @GetMapping("/mall/system/freight_limit")
    R queryFreightLimit();
    @GetMapping("/mall/system/freight")
    R queryFreight();

    @GetMapping("/mall/topic/list")
     R topicGoodsList(@RequestParam(required = false) Map<String, Object> params);
}
